package com.ljw.gulimall.ware.feign;

import com.ljw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/skuinfo/getSkusByIds")
    public R getSkusByIds(@RequestBody List<Long> skuIds);

}
